* {
  margin: 0;
  padding: 0;
}
.canvas_box {
  width: 600px;
  height: 400px;
  margin: 100px auto;
}

canvas {
  border: 1px solid #000;
  box-shadow: 0 2px 5px rgb(100, 100, 100);
  border-radius: 10px;
}
.color input {
  border: none;
  outline: none;
  width: 100%;
  height: 100%;
}

.canvas_box > div {
  float: left;
  margin-right: 50px;
  width: 60px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid #222;
  text-align: center;
  line-height: 30px;
  overflow: hidden;
  cursor: pointer;
  background-color: rgb(255, 255, 255);
 
}

 .canvas_box .weight {
  width: 130px;
  height: 30px;
  margin-right: 0;

}

.canvas_box .weight .strokes_box{
  width: 120px;
  height: 4px;
  margin: 13px auto;
  background-color: rgb(230, 230, 230);
  box-shadow: 0 1px 4px #222;
  
}

.stroke_width {
  width: 5px;
  height: 100%;
  background-color: rgb(64, 169, 255);
  position: relative;
}
.canvas_box .weight .strokes_box .stroke_width::before{
  content:'';

  width: 10px;
  height: 10px;
  border-radius: 20px;
  background-color: rgb(77, 132, 233);
  position: absolute;
  right: -5px;
  top: 50%;
  margin-top: -5px;
}
